<template>
  <div>

    <el-button type="text"
               @click="dialogVisible = true">点击打开Dialog</el-button>
    <vue-dialog :visible="dialogVisible"
                :title='title'
                :type='"uploadExcel"'></vue-dialog>
  </div>
</template>

<script>
import dialog from './components/Dialog'

export default {
  name: 'App',
  components: {
    dialog
  },
  data() {
    return {
      dialogVisible: true,
      title: '上传组件'
    }
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
